@echo off

if /i "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
    remote_windows_amd64.exe %*
) else if /i "%PROCESSOR_ARCHITECTURE%" == "ARM64" (
    remote_windows_arm64.exe %*
) else if /i "%PROCESSOR_ARCHITECTURE%" == "x86" (
    remote_windows_amd32.exe %*
) else (
    remote_windows_amd64.exe %*
)